package router

import (
	"fx_swift_schedule/internal/controller"
)

func CallBackRouter() {
	indexApiVer := miniApiVer.Group("callback")
	{
		indexApiVer.POST("tp1003CallBack", controller.Tp1003CallBack)
		indexApiVer.POST("tp1005CallBack", controller.Tp1005CallBack)
		indexApiVer.POST("vaInfoCallBack", controller.VAInfoCallBack)
		indexApiVer.POST("merChantCallBack", controller.MerChantCallBack)
		indexApiVer.POST("tp2001CallBack", controller.Tp2001CallBack)
		indexApiVer.POST("tp2007CallBack", controller.Tp2007CallBack)
		indexApiVer.POST("tp2009CallBack", controller.Tp2009CallBack)
		indexApiVer.POST("tp1012CallBack", controller.Tp1012CallBack)

		indexApiVer.POST("cardTransaction", controller.CardTransaction)

		//comply回调
		indexApiVer.POST("customerCreatedCallBack", controller.CustomerCreatedCallBack)
		indexApiVer.POST("customerUpdatedCallBack", controller.CustomerUpdatedCallBack)
		indexApiVer.POST("customerCompletedCallBack", controller.CustomerCompletedCallBack)

		indexApiVer.GET("cardSettlementInfo", controller.CardSettlementInfo)
		indexApiVer.GET("manualSendCallBack", controller.ManualSendCallBack)
		indexApiVer.GET("manualOperatorCardHeader", controller.ManualOperatorCardHeader)
	}
}
